package com.second.market.service;

import com.second.common.pojo.RR;
import com.second.market.pojo.entity.Advertise;
import com.second.market.pojo.vo.AdvertiseVo;

import java.util.List;
import java.util.Map;

public interface AdvertiseService {
    RR finAllAdvertiseByPage(Integer currentPage, Integer pageSize, AdvertiseVo advertiseVo);

    RR insert(Advertise advertise);

    RR update(Advertise advertise);

    RR selectById(Integer id);

    RR delete(Integer id);

    RR update(Integer status, Integer advertiseid);

    List<Map> selectPlace();
}
